<template>
  <div id="app">
    <div id="yourContainer"></div>
  </div>
</template>

<script>
import { registerMicroApps, loadMicroApp, start } from "qiankun";

// registerMicroApps([
//   {
//     name: "react app", // app name registered
//     entry: "//localhost:8080",
//     container: "#yourContainer",
//     activeRule: "/qiankun",
//   },
// ]);
export default {
  mounted() {
    loadMicroApp({
      name: "app-v2",
      entry: "//localhost:8080",
      container: "#yourContainer",
    });
    // start();
  },
};
</script>
